<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{width: 200px;
            height: 200px;}
            .one{float: left;
            background-color: yellow;}
            .two{float: right; background-color: aqua;}    
            .three{float: left;
            background-color: violet;}
            .fore{float: left; background-color: teal;}
    </style>
</head>
<body>
    <div class="one"></div>
    <div class="two"></div>
    <div class="three"></div>
    <div class="fore"></div>
</body>
</html>